package com.cms.contractInfo.action;

import com.cms.contractInfo.model.ContractInfo;
import com.jframe.sys.controller.ExtendAction;
import com.jframe.sys.utils.JsonUtil;

public class ContractInfoAction extends ExtendAction {
	private static String ACTION="contractinfoAction";
	private static String SERVICE = "contractInfoService";
	private static Class<ContractInfo> CLAZZ = ContractInfo.class;
	
	public void save() {
		baseSave(SERVICE, CLAZZ);
	}
	
	public void delete() {
		baseDelete(SERVICE);
	}
	
	public void getObjById() {
		print(JsonUtil.obj2Json(this.getObject(SERVICE)));
	}
}
